//
//  SiteCollectionViewCell.m
//  BaoVn
//
//  Created by Le Anh Tai on 12/16/14.
//  Copyright (c) 2014 Le Anh Tai. All rights reserved.
//

#import "SiteCollectionViewCell.h"

@implementation SiteCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {
        _siteView = [[CardNewsItemView alloc] init];
        [self.contentView addSubview:_siteView];
    }
    
    return self;
}

- (void)loadData:(NSDictionary *)dict
{
    [_siteView loadData:dict];
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    
    _siteView.frame = self.contentView.bounds;
}

@end
